/*
 * package com.woniuxy.oa.config;
 * 
 * import javax.servlet.MultipartConfigElement;
 * 
 * import org.springframework.boot.web.servlet.MultipartConfigFactory; import
 * org.springframework.context.annotation.Bean;
 * 
 * public class MultiPartConfig {
 * 
 * @Bean MultipartConfigElement multipartConfigElement() {
 * MultipartConfigFactory factory = new MultipartConfigFactory();
 * factory.setLocation("D:/oa_office/resources"); return
 * factory.createMultipartConfig();
 * 
 * } }
 */
